﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CYTS.Aoyou.Framework.Database;

namespace CYTS.Aoyou.Framework.DAInterface
{
    public interface IPerformanceDataAdapter : IDataAdapter
    {
        void Set<T>( string databaseName, string collectionName, T value);

        T Get<T>(string databaseName, string collectionName, string id);

        List<T> GetAll<T>(string databaseName, string collectionName);

        void Delete<T>(string databaseName, string collectionName, string id);
    }
}
